import { Injectable } from '@nestjs/common';
import { CreateApDevinfoDto } from './dto/create-ap_devinfo.dto';
import { UpdateApDevinfoDto } from './dto/update-ap_devinfo.dto';

@Injectable()
export class ApDevinfoService {

  private devInfo = {
    net_port_list:[
      {
        index:"1",
        type:"cpu_port",
        display_name:"CPU口",
      },
      {
        index:"2",
        type:"lan_port",
        display_name:"LAN口",
      },
      {
        index:"3",
        type:"wan_port",
        display_name:"WAN口",
      }
    ],
    platform:{
      cpu:"rk3588",
      total_mem:"16GB",
      hw_id:"1234567890",
    }
  }

  getDevInfo() {
    return {
      code: 200,
      message: 'success',
      data: this.devInfo,
    };
  }
}
